import {message} from 'antd';

// 定义一个新的类型，包含 Window 和自定义属性
type WindowWithCustomVars = Window & {
    __POWERED_BY_QIANKUN__: {
        onGlobalStateChange:(params:((state:any)=>void))=>void,
        setGlobalState:(params:any)=>void
    };
};
  
// 声明 window 为新的类型
declare let window: WindowWithCustomVars;


